<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jQuery.js"></script>
    <script>
        //获取js原生对象
        window.onload=function(){
            //获取js原生对象
            var div = document.getElementById("div");
            // alert(div);

            //将js原生对象转换为jquery
            var $div=$(div);
            alert($div);
        }
    </script>
</head>
<body>
    <div id="div">约吗</div>
</body>
</html>